#ifndef CUSTOMWIDGET_H
#define CUSTOMWIDGET_H

#include <QWidget>
#include <QListWidgetItem>

class CustomWidget : public QWidget {
    Q_OBJECT
public:
    CustomWidget(QListWidgetItem* listItem, QWidget* parent = nullptr);

protected:
    void paintEvent(QPaintEvent* event) override;

private:
    QListWidgetItem* m_listItem;
};

#endif // CUSTOMWIDGET_H
